<template>
  <van-cell>
    <div class="dahezi">
      <div class="zfd" @click="$router.push(`/detail/${item.houseCode}`)">
        <div class="aaaa">
          <img :src="'http://liufusong.top:8080' + item.houseImg" alt="" />
        </div>
        <div class="ddd">
          <h3 class="cc">{{ item.title }}</h3>
          <div class="cc">{{ item.desc }}</div>
          <div class="cc">{{ item.tags[0] }}</div>
          <div class="cc">{{ item.price }}</div>
        </div>
      </div>
      <!-- <div class="yfd">
        </div> -->
    </div>
  </van-cell>
</template>

<script>
export default {
  props: ['item']
}
</script>

<style lang="less" secped>
.dahezi {
  display: flex;
  align-items: center;
  .aaaa {
    width: 106px;
    height: 80px;
    margin-right: 20px;
    img {
      width: 100%;
    }
  }
}
.cc {
  margin: 0;
  padding: 0;
}
.ddd{
  float: right;

}
</style>
